import request from '@/utils/request'

// 查询客户欠费报警列表
export function listTboverduealarm(query) {
  return request({
    url: '/finance/tboverduealarm/list',
    method: 'get',
    params: query
  })
}

// 查询客户欠费报警详细
export function getTboverduealarm(id) {
  return request({
    url: '/finance/tboverduealarm/' + id,
    method: 'get'
  })
}

// 新增客户欠费报警
export function addTboverduealarm(data) {
  return request({
    url: '/finance/tboverduealarm',
    method: 'post',
    data: data
  })
}

// 修改客户欠费报警
export function updateTboverduealarm(data) {
  return request({
    url: '/finance/tboverduealarm',
    method: 'put',
    data: data
  })
}

// 删除客户欠费报警
export function delTboverduealarm(id) {
  return request({
    url: '/finance/tboverduealarm/' + id,
    method: 'delete'
  })
}
